package com.xiaochi.subject.domain.convert;

import com.xiaochi.subject.domain.entity.SubjectAnswerBO;
import com.xiaochi.subject.infra.basic.entity.SubjectMultiple;
import com.xiaochi.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author zqx
 * @since 2024/7/20
 */
@Mapper
public interface MultipleSubjectConverter {

    MultipleSubjectConverter INSTANCE = Mappers.getMapper(MultipleSubjectConverter.class);

    SubjectMultiple converterBoToEntity(SubjectAnswerBO subjectAnswerBO);

    List<SubjectAnswerBO> converterEntityListToBo(List<SubjectMultiple> subjectMultipleList);

}
